Currently the Setup program will only allow you to choose a single installation directory. This means that you will need to run the Setup program TWICE to install DataSorcerer for Both Delphi V1.0 and Delphi V2.0.
Setup will delete any existing DataSorcerer DCU and DCR files in your Delphi LIB directory to help avoid Version Mismatch problems.
The installation sub-directories are selected automatically by the Setup Program, based on the Delphi standard sub-directories. These will be sub-directories of your selected installation directory as follows:
Source (.PAS and .INC) files are copied to the LIB directory.
Control (.DCU) files are copied to the LIB directory.
Resource (.16 or .32) files are copied to the LIB directory.
Sample files are copied to the DEMOS\DATASORC directory.
Database files are copied to the DEMOS\DATA directory.
The help Keyword (.KWF) file is copied to the HELP directory.
For Delphi V1.0 the Help (.HLP) file is copied to the BIN directory.
For Delphi V2.0 the Help (.HLP) file is copied to the HELP directory.
After the installation is complete you will need to add the DATASORC and DATAPROP files to your Delphi Component Library.
MAKE A BACKUP
Before installing ANY new component in the Component Library, it is prudent to make a backup copy of the Component Library file, just in case something goes wrong and you need to revert to the old version.
If you have previously installed any version of DataSorcerer then you only need to do a Library rebuild.
Otherwise:
If you are using the Source Code Edition add DATASORC.PAS and DATAPROP.PAS to your Component Library.
If you are using the Component Only Edition or you are evaluating the Shareware Edition, add DATASORC.DCU and DATAPROP.DCU to your Component Library.
These files are located in the LIB sub-directory as mentioned above.
NOTE
You may not have all of the file groups mentioned above depending on the version you purchased. For example there are no Source Code files included with the Component Only Edition of DataSorcerer.
NOTE
The sample project assumes that you installed the Delphi Sample Database files when you installed Delphi. If you did not install the sample database files then you will need to use the Delphi Installer to add them to your system. The sample code assumes that the database Alias for the sample database files is DBDEMOS.
You may also integrate the DATASORC.HLP file into the Delphi Help system. See the Help file for more information.